package com.everest.tribalapp;



import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;

public class SQLiteAdapter_Dering {

	public static final String MYDATABASE_NAME = "tribal_app_1";
	public static final String MYDATABASE_TABLE = "dering";
	public static final int MYDATABASE_VERSION = 1;
	public static final String KEY_ID = "_id";
	public static final String F1_1 = "f1_1";
	public static final String F1_2 = "f1_2";
	public static final String F1_3 = "f1_3";
	public static final String F1_4 = "f1_4";
	public static final String F1_5 = "f1_5";
	public static final String F1_6 = "f1_6";
	public static final String F1_7 = "f1_7";
	public static final String F2_1 = "f2_1";
	public static final String F2_2 = "f2_2";
	public static final String F2_3 = "f2_3";
	public static final String F2_4 = "f2_4";
	public static final String F2_5 = "f2_5";
	public static final String F2_6a = "f2_6a";
	public static final String F2_6b = "f2_6b";
	public static final String F3_1a = "f3_1a";
	public static final String F3_1b = "f3_1b";
	public static final String F3_2a1a1 = "f3_2a1a1";
	public static final String F3_2a1a2 = "f3_2a1a2";
	public static final String F3_2a1a3 = "f3_2a1a3";
	public static final String F3_2a1a4 = "f3_2a1a4";
	public static final String F3_2a1a = "f3_2a1a";
	public static final String F3_2a1b = "f3_2a1b";
	public static final String F3_2a1b1 = "f3_2a1b1";
	public static final String F3_2a1b2 = "f3_2a1b2";
	public static final String F3_2a1b3 = "f3_2a1b3";
	public static final String F3_2a1b4 = "f3_2a1b4";
	public static final String F3_2a2a1 = "f3_2a2a1";
	public static final String F3_2a2a2 = "f3_2a2a2";
	public static final String F3_2a2a3 = "f3_2a2a3";
	public static final String F3_2a2a4 = "f3_2a2a4";
	public static final String F3_2a2b1 = "f3_2a2b1";
	public static final String F3_2a2b2 = "f3_2a2b2";
	public static final String F3_2a2b3 = "f3_2a2b3";
	public static final String F3_2a2b4 = "f3_2a2b4";
	public static final String F3_2a31 = "f3_2a31";
	public static final String F3_2a32 = "f3_2a32";
	public static final String F3_2a33 = "f3_2a33";
	public static final String F3_2a34 = "f3_2a34";
	public static final String F3_2a41 = "f3_2a41";
	public static final String F3_2a42 = "f3_2a42";
	public static final String F3_2a43 = "f3_2a43";
	public static final String F3_2a44 = "f3_2a44";
	public static final String F3_2a51 = "f3_2a51";
	public static final String F3_2a52 = "f3_2a52";
	public static final String F3_2a53 = "f3_2a53";
	public static final String F3_2a54 = "f3_2a54";
	public static final String F3_2a61 = "f3_2a61";
	public static final String F3_2a62 = "f3_2a62";
	public static final String F3_2a63 = "f3_2a63";
	public static final String F3_2a64 = "f3_2a64";
	public static final String F3_2a71 = "f3_2a71";
	public static final String F3_2a72 = "f3_2a72";
	public static final String F3_2a73 = "f3_2a73";
	public static final String F3_2a74 = "f3_2a74";
	public static final String F3_2a81 = "f3_2a81";
	public static final String F3_2a82 = "f3_2a82";
	public static final String F3_2a83 = "f3_2a83";
	public static final String F3_2a84 = "f3_2a84";
	public static final String F3_2a91 = "f3_2a91";
	public static final String F3_2a92 = "f3_2a92";
	public static final String F3_2a93 = "f3_2a93";
	public static final String F3_2a94 = "f3_2a94";
	public static final String F3_2b1a1 = "f3_2b1a1";
	public static final String F3_2b1a2 = "f3_2b1a2";
	public static final String F3_2b1a3 = "f3_2b1a3";
	public static final String F3_2b1a4 = "f3_2b1a4";
	public static final String F3_2b1b1 = "f3_2b1b1";
	public static final String F3_2b1b2 = "f3_2b1b2";
	public static final String F3_2b1b3 = "f3_2b1b3";
	public static final String F3_2b1b4 = "f3_2b1b4";
	public static final String F3_2b21 = "f3_2b21";
	public static final String F3_2b22 = "f3_2b22";
	public static final String F3_2b23 = "f3_2b23";
	public static final String F3_2b24 = "f3_2b24";
	public static final String F3_2b31 = "f3_2b31";
	public static final String F3_2b32 = "f3_2b32";
	public static final String F3_2b33 = "f3_2b33";
	public static final String F3_2b34 = "f3_2b34";
	public static final String F3_2b41 = "f3_2b41";
	public static final String F3_2b42 = "f3_2b42";
	public static final String F3_2b43 = "f3_2b43";
	public static final String F3_2b44 = "f3_2b44";
	public static final String F3_2b51 = "f3_2b51";
	public static final String F3_2b52 = "f3_2b52";
	public static final String F3_2b53 = "f3_2b53";
	public static final String F3_2b54 = "f3_2b54";
	public static final String F3_2b61 = "f3_2b61";
	public static final String F3_2b62 = "f3_2b62";
	public static final String F3_2b63 = "f3_2b63";
	public static final String F3_2b64 = "f3_2b64";
	public static final String F3_3 = "f3_3";
	public static final String F3_4 = "f3_4";
	public static final String F3_5a = "f3_5a";
	public static final String F3_5b = "f3_5b";
	public static final String F3_5c = "f3_5c";
	public static final String F3_5d = "f3_5d";
	public static final String F4_1 = "f4_1";
	public static final String F4_2a = "f4_2a";
	public static final String F4_2b = "f4_2b";
	public static final String F4_3 = "f4_3";
	public static final String F4_4 = "f4_4";
	public static final String F4_5 = "f4_5";
	public static final String F4_6 = "f4_6";
	public static final String F4_7 = "f4_7";
	public static final String F4_8 = "f4_8";
	public static final String F4_9 = "f4_9";
	public static final String F4_10a = "f4_10a";
	public static final String F4_10b = "f4_10b";
	public static final String F4_11a = "f4_11a";
	public static final String F4_11b = "f4_11b";
	public static final String F4_11c = "f4_11c";
	public static final String F4_11d = "f4_11d";
	public static final String F4_12a = "f4_12a";
	public static final String F4_12b = "f4_12b";
	public static final String F4_12c = "f4_12c";
	public static final String F4_12d = "f4_12d";
	public static final String F4_13a = "f4_13a";
	public static final String F4_13b = "f4_13b";
	public static final String F4_13c = "f4_13c";
	public static final String F4_13d = "f4_13d";
	public static final String F4_13e = "f4_13e";
	public static final String F4_13f = "f4_13f";
	public static final String F4_13g = "f4_13g";
	public static final String F4_13h = "f4_13h";
	public static final String F4_13i = "f4_13i";
	public static final String F4_13j = "f4_13j";
	public static final String F4_14 = "f4_14";
	public static final String F4_15a = "f4_15a";
	public static final String F4_15b = "f4_15b";
	public static final String F4_15c = "f4_15c";
	public static final String F4_15d = "f4_15d";
	public static final String F4_15e = "f4_15e";
	public static final String F4_15f = "f4_15f";
	public static final String F4_15g = "f4_15g";
	public static final String F4_15h = "f4_15h";
	public static final String F4_15i = "f4_15i";
	public static final String F4_15j = "f4_15j";
	public static final String F4_16 = "f4_16";
	public static final String F5_1 = "f5_1";
	public static final String F5_2 = "f5_2";
	public static final String F5_3 = "f5_3";
	public static final String F5_4 = "f5_4";
	public static final String F5_5a = "f5_5a";
	public static final String F5_5b = "f5_5b";
	public static final String F5_5c = "f5_5c";
	public static final String F5_5d = "f5_5d";
	public static final String F5_6 = "f5_6";
	public static final String F5_7a = "f5_7a";
	public static final String F5_7b = "f5_7b";
	public static final String F5_8 = "f5_8";
	public static final String F5_9a = "f5_9a";
	public static final String F5_9b = "f5_9b";
	public static final String F5_9c = "f5_9c";
	public static final String F5_9d= "f5_9d";
	public static final String F5_10 = "f5_10";
	public static final String F5_11 = "f5_11";
	public static final String F5_12 = "f5_12";
	public static final String F5_13a = "f5_13a";
	public static final String F5_13b = "f5_13b";
	public static final String F5_13c = "f5_13c";
	public static final String F5_13d = "f5_13d";
	public static final String F5_13e = "f5_13e";
	public static final String F5_13f = "f5_13f";
	public static final String F5_13g = "f5_13g";
	public static final String F6_1a = "f6_1a";
	public static final String F6_1b = "f6_1b";
	public static final String F6_2a = "f6_2a";
	public static final String F6_2b = "f6_2b";
	public static final String F6_3a = "f6_3a";
	public static final String F6_3b = "f6_3b";
	public static final String F6_4a = "f6_4a";
	public static final String F6_4b = "f6_4b";
	public static final String F6_5 = "f6_5";
	public static final String F6_6 = "f6_6";
	public static final String F6_7a1 = "f6_7a1";
	public static final String F6_7a2 = "f6_7a2";
	public static final String F6_7a3 = "f6_7a3";
	public static final String F6_7b1 = "f6_7b1";
	public static final String F6_7b2 = "f6_7b2";
	public static final String F6_7b3 = "f6_7b3";
	public static final String F6_7c1 = "f6_7c1";
	public static final String F6_7c2 = "f6_7c2";
	public static final String F6_7c3 = "f6_7c3";
	public static final String F6_8 = "f6_8";
	public static final String F6_91a1 = "f6_91a1";
	public static final String F6_91a2 = "f6_91a2";
	public static final String F6_91a3 = "f6_91a3";
	public static final String F6_91b1 = "f6_91b1";
	public static final String F6_91b2 = "f6_91b2";
	public static final String F6_91b3 = "f6_91b3";
	public static final String F6_91c1 = "f6_91c1";
	public static final String F6_91c2 = "f6_91c2";
	public static final String F6_91c3 = "f6_91c3";
	public static final String F6_921 = "f6_921";
	public static final String F6_922 = "f6_922";
	public static final String F6_923 = "f6_923";
	public static final String F6_931 = "f6_931";
	public static final String F6_932 = "f6_932";
	public static final String F6_933 = "f6_933";
	public static final String F7_1 = "f7_1";
	public static final String F7_2a = "f7_2a";
	public static final String F7_2b = "f7_2b";
	public static final String F7_3a = "f7_3a";
	public static final String F7_3b = "f7_3b";
	public static final String F7_3c = "f7_3c";
	public static final String F7_3d = "f7_3d";
	public static final String F7_3e = "f7_3e";
	public static final String F7_3f = "f7_3f";
	public static final String F8_1 = "f8_1";
	public static final String F8_2 = "f8_2";
	public static final String F8_3 = "f8_3";
	public static final String F8_4 = "f8_4";
	public static final String F8_5 = "f8_5";
	public static final String F8_6 = "f8_6";
	public static final String F8_7 = "f8_7";
	public static final String F8_8 = "f8_8";
	public static final String F8_YEAR = "f8_year";
	private static final String SCRIPT_CREATE_DATABASE =
		"create table " + MYDATABASE_TABLE + " ("
		+ KEY_ID + " integer primary key autoincrement, "+ F1_1 + " text, "+ F1_2 + " text, "+ F1_3 + " text, "+ F1_4 + " text, "+ F1_5 + " text, "+ F1_6 + " text, "+ F1_7 + " text, "
				+ F2_1 + " text, "+ F2_2 + " text, "+ F2_3 + " text, "+ F2_4 + " text, "+ F2_5 + " text, "+ F2_6a + " text, "+ F2_6b + " text, "
		+ F3_1a + " text, "+ F3_1b + " text, "+ F3_2a1a + " text, "+ F3_2a1a1 + " text, "+ F3_2a1a2 + " text, "+ F3_2a1a3 + " text, "+ F3_2a1a4 + " text, "+ F3_2a2a1 + " text, "+ F3_2a2a2 + " text, "+ F3_2a2a3 + " text, "+ F3_2a2a4 + " text, "+ F3_2a1b1 + " text, "+ F3_2a1b2 + " text, "+ F3_2a1b3 + " text, "+ F3_2a1b4 + " text, "+ F3_2a2b1 + " text, "+ F3_2a2b2 + " text, "+ F3_2a2b3 + " text, "+ F3_2a2b4 + " text, "+ F3_2a31 + " text, "+ F3_2a32 + " text, "+ F3_2a33 + " text, "+ F3_2a34 + " text, "+ F3_2a41 + " text, "+ F3_2a42 + " text, "+ F3_2a43 + " text, "+ F3_2a44 + " text, "+ F3_2a51 + " text, "+ F3_2a52 + " text, "+ F3_2a53 + " text, "+ F3_2a54 + " text, "+ F3_2a61 + " text, "+ F3_2a62 + " text, "+ F3_2a63 + " text, "+ F3_2a64 + " text, "+ F3_2a71 + " text, "+ F3_2a72 + " text, "+ F3_2a73 + " text, "+ F3_2a74 + " text, "+ F3_2a81 + " text, "+ F3_2a82 + " text, "+ F3_2a83 + " text, "+ F3_2a84 + " text, "+ F3_2a91 + " text, "+ F3_2a92 + " text, "+ F3_2a93 + " text, "+ F3_2a94 + " text, "+ F3_2b21 + " text, "+ F3_2b22 + " text, "+ F3_2b23 + " text, "+ F3_2b24 + " text, "+ F3_2b31 + " text, "+ F3_2b32 + " text, "+ F3_2b33 + " text, "+ F3_2b34 + " text, "+ F3_2b41 + " text, "+ F3_2b42 + " text, "+ F3_2b43 + " text, "+ F3_2b44 + " text, "+ F3_2b51 + " text, "+ F3_2b52 + " text, "+ F3_2b53 + " text, "+ F3_2b54 + " text, "+ F3_2b61 + " text, "+ F3_2b62 + " text, "+ F3_2b63 + " text, "+ F3_2b64 + " text, "+F3_2a1b + " text, "+ F3_2b1a1 + " text, "+ F3_2b1a2 + " text, "+ F3_2b1a3 + " text, "+ F3_2b1a4 + " text, "+ F3_2b1b1 + " text, "+ F3_2b1b2 + " text, "+ F3_2b1b3 + " text, "+ F3_2b1b4 + " text, " + F3_3 + " text, "+ F3_4 + " text, "+ F3_5a + " text, "+ F3_5b + " text, "+ F3_5c + " text, "+ F3_5d + " text, "
				+ F4_1 + " text, "+ F4_2a + " text, "+ F4_2b + " text, "+ F4_3 + " text, "+ F4_4 + " text, "+ F4_5 + " text, "+ F4_6 + " text, "+ F4_7 + " text, "+ F4_8 + " text, "+ F4_9 + " text, "+ F4_10a + " text, "+ F4_10b + " text, "+ F4_11a + " text, "+ F4_11b + " text, "+ F4_11c + " text, "+ F4_11d + " text, "+ F4_12a + " text, "+ F4_12b + " text, "+ F4_12c + " text, "+ F4_12d + " text, "+ F4_13a + " text, "+ F4_13b + " text, "+ F4_13c + " text, "+ F4_13d + " text, "+ F4_13e + " text, "+ F4_13f + " text, "+ F4_13g + " text, "+ F4_13h + " text, "+ F4_13i + " text, "+ F4_13j + " text, "+ F4_14 + " text, "+ F4_15a + " text, "+ F4_15b + " text, "+ F4_15c + " text, "+ F4_15d + " text, "+ F4_15e + " text, "+ F4_15f + " text, "+ F4_15g + " text, "+ F4_15h + " text, "+ F4_15i + " text, "+ F4_15j + " text, "+ F4_16 + " text, "
		+ F5_1 + " text, "+ F5_2 + " text, "+ F5_3 + " text, "+ F5_4 + " text, "+ F5_5a + " text, "+ F5_5b + " text, "+ F5_5c + " text, "+ F5_5d + " text, "+ F5_6 + " text, "+ F5_7a + " text, "+ F5_7b + " text, "+ F5_8 + " text, "+ F5_9a + " text, "+ F5_9b + " text, "+ F5_9c + " text, "+ F5_9d + " text, "+ F5_10 + " text, "+ F5_11 + " text, "+ F5_12 + " text, "+ F5_13a + " text, "+ F5_13b + " text, "+ F5_13c + " text, "+ F5_13d + " text, "+ F5_13e + " text, "+ F5_13f + " text, "+ F5_13g + " text, "
				+ F6_1a + " text, "+ F6_1b + " text, "+ F6_2a + " text, "+ F6_2b + " text, "+ F6_3a + " text, "+ F6_3b + " text, "+ F6_4a + " text, "+ F6_4b + " text, "+ F6_5 + " text, "+ F6_6 + " text, "+ F6_7a1 + " text, "+ F6_7a2 + " text, "+ F6_7a3 + " text, "+ F6_7b1 + " text, "+ F6_7b2 + " text, "+ F6_7b3 + " text, "+ F6_7c1 + " text, "+ F6_7c2 + " text, "+ F6_7c3 + " text, "+ F6_8 + " text, "+ F6_91a1 + " text, "+ F6_91a2 + " text, "+ F6_91a3 + " text, "+ F6_91b1 + " text, "+ F6_91b2 + " text, "+ F6_91b3 + " text, "+ F6_91c1 + " text, "+ F6_91c2 + " text, "+ F6_91c3 + " text, "+ F6_921 + " text, "+ F6_922 + " text, "+ F6_923 + " text, "+ F6_931 + " text, "+ F6_932 + " text, "+ F6_933 + " text, "
		+ F7_1 + " text, "+ F7_2a + " text, "+ F7_2b + " text, "+ F7_3a + " text, "+ F7_3b + " text, "+ F7_3c + " text, "+ F7_3d + " text, "+ F7_3e + " text, "+ F7_3f + " text, "
				+ F8_1 + " text, "+ F8_2 + " text, "+ F8_3 + " text, "+ F8_4 + " text, "+ F8_5 + " text, "+ F8_6 + " text, "+ F8_7 + " text, "+ F8_8 + " text, "+ F8_YEAR + " text);";
	
	private SQLiteHelper sqLiteHelper;
	private SQLiteDatabase sqLiteDatabase;
	private Context context;
	
	public SQLiteAdapter_Dering(Context c)
	{
		context = c;
	}
	
	public SQLiteAdapter_Dering openToRead() throws android.database.SQLException 
	{
		sqLiteHelper = new SQLiteHelper(context, MYDATABASE_NAME, null, MYDATABASE_VERSION);
		sqLiteDatabase = sqLiteHelper.getReadableDatabase();
		return this;	
	}
	
	public SQLiteAdapter_Dering openToWrite() throws android.database.SQLException 
	{
		sqLiteHelper = new SQLiteHelper(context, MYDATABASE_NAME, null, MYDATABASE_VERSION);
		sqLiteDatabase = sqLiteHelper.getWritableDatabase();
		return this;	
	}
	
	public void close()
	{
		sqLiteHelper.close();
	}
	
	public long insert(String F1_1,String F1_2,String F1_3,String F1_4,String F1_5,String F1_6,String F1_7,
			String F2_1,String F2_2,String F2_3,String F2_4,String F2_5,String F2_6a,String F2_6b,
			String F3_1a,String F3_1b,String F3_2a1a,String F3_2a1a1,String F3_2a1a2,String F3_2a1a3,String F3_2a1a4,String F3_2a1b,String F3_2a1b1,String F3_2a1b2,String F3_2a1b3,String F3_2a1b4,String F3_2a2a1,String F3_2a2a2,String F3_2a2a3,String F3_2a2a4,String F3_2a2b1,String F3_2a2b2,String F3_2a2b3,String F3_2a2b4,String F3_2a31,String F3_2a32,String F3_2a33,String F3_2a34,String F3_2a41,String F3_2a42,String F3_2a43,String F3_2a44,String F3_2a51,String F3_2a52,String F3_2a53,String F3_2a54,String F3_2a61,String F3_2a62,String F3_2a63,String F3_2a64,String F3_2a71,String F3_2a72,String F3_2a73,String F3_2a74,String F3_2a81,String F3_2a82,String F3_2a83,String F3_2a84,String F3_2a91,String F3_2a92,String F3_2a93,String F3_2a94,String F3_2b1a1,String F3_2b1a2,String F3_2b1a3,String F3_2b1a4,String F3_2b1b1,String F3_2b1b2,String F3_2b1b3,String F3_2b1b4,String F3_2b21,String F3_2b22,String F3_2b23,String F3_2b24,String F3_2b31,String F3_2b32,String F3_2b33,String F3_2b34,String F3_2b41,String F3_2b42,String F3_2b43,String F3_2b44,String F3_2b51,String F3_2b52,String F3_2b53,String F3_2b54,String F3_2b61,String F3_2b62,String F3_2b63,String F3_2b64,String F3_3,String F3_4,String F3_5a,String F3_5b,String F3_5c,String F3_5d,
			String F4_1,String F4_2a,String F4_2b,String F4_3,String F4_4,String F4_5,String F4_6,String F4_7,String F4_8,String F4_9,String F4_10a,String F4_10b,String F4_11a,String F4_11b,String F4_11c,String F4_11d,String F4_12a,String F4_12b,String F4_12c,String F4_12d,String F4_13a,String F4_13b,String F4_13c,String F4_13d,String F4_13e,String F4_13f,String F4_13g,String F4_13h,String F4_13i,String F4_13j,String F4_14,String F4_15a,String F4_15b,String F4_15c,String F4_15d,String F4_15e,String F4_15f,String F4_15g,String F4_15h,String F4_15i,String F4_15j,String F4_16,
			String F5_1,String F5_2,String F5_3,String F5_4,String F5_5a,String F5_5b,String F5_5c,	String F5_5d,String F5_6,String F5_7a,String F5_7b,String F5_8,String F5_9a,String F5_9b,String F5_9c,String F5_9d,String F5_10,String F5_11,String F5_12,String F5_13a,String F5_13b,String F5_13c,String F5_13d,String F5_13e,String F5_13f,String F5_13g,
			String F6_1a,String F6_1b,String F6_2a,String F6_2b,String F6_3a,String F6_3b,String F6_4a,String F6_4b,String F6_5,String F6_6,String F6_7a1,String F6_7a2,String F6_7a3,String F6_7b1,String F6_7b2,String F6_7b3,String F6_7c1,String F6_7c2,String F6_7c3,String F6_8,String F6_91a1,String F6_91a2,String F6_91a3,String F6_91b1,String F6_91b2,String F6_91b3,String F6_91c1,String F6_91c2,String F6_91c3,String F6_921,String F6_922,String F6_923,String F6_931,String F6_932,String F6_933,
			String F7_1,String F7_2a,String F7_2b,String F7_3a,String F7_3b,String F7_3c,String F7_3d,String F7_3e,String F7_3f,
			String F8_1,String F8_2,String F8_3,String F8_4,String F8_5,String F8_6,String F8_7,String F8_8,String y)
	{
		ContentValues contentValues = new ContentValues();
		contentValues.put("f1_1",F1_1);
		contentValues.put("f1_2",F1_2);
		contentValues.put("f1_3",F1_3);
		contentValues.put("f1_4",F1_4);
		contentValues.put("f1_5",F1_5);
		contentValues.put("f1_6",F1_6);
		contentValues.put("f1_7",F1_7);
		contentValues.put("f2_1",F2_1);
		contentValues.put("f2_2",F2_2);
		contentValues.put("f2_3",F2_3);
		contentValues.put("f2_4",F2_4);
		contentValues.put("f2_5",F2_5);
		contentValues.put("f2_6a",F2_6a);
		contentValues.put("f2_6b",F2_6b);
		contentValues.put("f3_1a",F3_1a);
		contentValues.put("f3_1b",F3_1b);
		contentValues.put("f3_2a1a",F3_2a1a);
		contentValues.put("f3_2a1a1",F3_2a1a1);
		contentValues.put("f3_2a1a2",F3_2a1a2);
		contentValues.put("f3_2a1a3",F3_2a1a3);
		contentValues.put("f3_2a1a4",F3_2a1a4);
		contentValues.put("f3_2a1b",F3_2a1b);
		contentValues.put("f3_2a1b1",F3_2a1b1);
		contentValues.put("f3_2a1b2",F3_2a1b2);
		contentValues.put("f3_2a1b3",F3_2a1b3);
		contentValues.put("f3_2a1b4",F3_2a1b4);
		contentValues.put("f3_2a2a1",F3_2a2a1);
		contentValues.put("f3_2a2a2",F3_2a2a2);
		contentValues.put("f3_2a2a3",F3_2a2a3);
		contentValues.put("f3_2a2a4",F3_2a2a4);
		contentValues.put("f3_2a2b1",F3_2a2b1);
		contentValues.put("f3_2a2b2",F3_2a2b2);
		contentValues.put("f3_2a2b3",F3_2a2b3);
		contentValues.put("f3_2a2b4",F3_2a2b4);
		contentValues.put("f3_2a31",F3_2a31);
		contentValues.put("f3_2a32",F3_2a32);
		contentValues.put("f3_2a33",F3_2a33);
		contentValues.put("f3_2a34",F3_2a34);
		contentValues.put("f3_2a41",F3_2a41);
		contentValues.put("f3_2a42",F3_2a42);
		contentValues.put("f3_2a43",F3_2a43);
		contentValues.put("f3_2a44",F3_2a44);
		contentValues.put("f3_2a51",F3_2a51);
		contentValues.put("f3_2a52",F3_2a52);
		contentValues.put("f3_2a53",F3_2a53);
		contentValues.put("f3_2a54",F3_2a54);
		contentValues.put("f3_2a61",F3_2a61);
		contentValues.put("f3_2a62",F3_2a62);
		contentValues.put("f3_2a63",F3_2a63);
		contentValues.put("f3_2a64",F3_2a64);
		contentValues.put("f3_2a71",F3_2a71);
		contentValues.put("f3_2a72",F3_2a72);
		contentValues.put("f3_2a73",F3_2a73);
		contentValues.put("f3_2a74",F3_2a74);
		contentValues.put("f3_2a81",F3_2a81);
		contentValues.put("f3_2a82",F3_2a82);
		contentValues.put("f3_2a83",F3_2a83);
		contentValues.put("f3_2a84",F3_2a84);
		contentValues.put("f3_2a91",F3_2a91);
		contentValues.put("f3_2a92",F3_2a92);
		contentValues.put("f3_2a93",F3_2a93);
		contentValues.put("f3_2a94",F3_2a94);
		contentValues.put("f3_2b1a1",F3_2b1a1);
		contentValues.put("f3_2b1a2",F3_2b1a2);
		contentValues.put("f3_2b1a3",F3_2b1a3);
		contentValues.put("f3_2b1a4",F3_2b1a4);
		contentValues.put("f3_2b1b1",F3_2b1b1);
		contentValues.put("f3_2b1b2",F3_2b1b2);
		contentValues.put("f3_2b1b3",F3_2b1b3);
		contentValues.put("f3_2b1b4",F3_2b1b4);
		contentValues.put("f3_2b21",F3_2b21);
		contentValues.put("f3_2b22",F3_2b22);
		contentValues.put("f3_2b23",F3_2b23);
		contentValues.put("f3_2b24",F3_2b24);
		contentValues.put("f3_2b31",F3_2b31);
		contentValues.put("f3_2b32",F3_2b32);
		contentValues.put("f3_2b33",F3_2b33);
		contentValues.put("f3_2b34",F3_2b34);
		contentValues.put("f3_2b41",F3_2b41);
		contentValues.put("f3_2b42",F3_2b42);
		contentValues.put("f3_2b43",F3_2b43);
		contentValues.put("f3_2b44",F3_2b44);
		contentValues.put("f3_2b51",F3_2b51);
		contentValues.put("f3_2b52",F3_2b52);
		contentValues.put("f3_2b53",F3_2b53);
		contentValues.put("f3_2b54",F3_2b54);
		contentValues.put("f3_2b61",F3_2b61);
		contentValues.put("f3_2b62",F3_2b62);
		contentValues.put("f3_2b63",F3_2b63);
		contentValues.put("f3_2b64",F3_2b64);
		contentValues.put("f3_3",F3_3);
		contentValues.put("f3_4",F3_4);
		contentValues.put("f3_5a",F3_5a);
		contentValues.put("f3_5b",F3_5b);
		contentValues.put("f3_5c",F3_5c);
		contentValues.put("f3_5d",F3_5d);
		contentValues.put("f4_1",F4_1);
		contentValues.put("f4_2a",F4_2a);
		contentValues.put("f4_2b",F4_2b);
		contentValues.put("f4_3",F4_3);
		contentValues.put("f4_4",F4_4);
		contentValues.put("f4_5",F4_5);
		contentValues.put("f4_6",F4_6);
		contentValues.put("f4_7",F4_7);
		contentValues.put("f4_8",F4_8);
		contentValues.put("f4_9",F4_9);
		contentValues.put("f4_10a",F4_10a);
		contentValues.put("f4_10b",F4_10b);
		contentValues.put("f4_11a",F4_11a);
		contentValues.put("f4_11b",F4_11b);
		contentValues.put("f4_11c",F4_11c);
		contentValues.put("f4_11d",F4_11d);
		contentValues.put("f4_12a",F4_12a);
		contentValues.put("f4_12b",F4_12b);
		contentValues.put("f4_12c",F4_12c);
		contentValues.put("f4_12d",F4_12d);
		contentValues.put("f4_13a",F4_13a);
		contentValues.put("f4_13b",F4_13b);
		contentValues.put("f4_13c",F4_13c);
		contentValues.put("f4_13d",F4_13d);
		contentValues.put("f4_13e",F4_13e);
		contentValues.put("f4_13f",F4_13f);
		contentValues.put("f4_13g",F4_13g);
		contentValues.put("f4_13h",F4_13h);
		contentValues.put("f4_13i",F4_13i);
		contentValues.put("f4_13j",F4_13j);
		contentValues.put("f4_14",F4_14);
		contentValues.put("f4_15a",F4_15a);
		contentValues.put("f4_15b",F4_15b);
		contentValues.put("f4_15c",F4_15c);
		contentValues.put("f4_15d",F4_15d);
		contentValues.put("f4_15e",F4_15e);
		contentValues.put("f4_15f",F4_15f);
		contentValues.put("f4_15g",F4_15g);
		contentValues.put("f4_15h",F4_15h);
		contentValues.put("f4_15i",F4_15i);
		contentValues.put("f4_15j",F4_15j);
		contentValues.put("f4_16",F4_16);
		contentValues.put("f5_1",F5_1);
		contentValues.put("f5_2",F5_2);
		contentValues.put("f5_3",F5_3);
		contentValues.put("f5_4",F5_4);
		contentValues.put("f5_5a",F5_5a);
		contentValues.put("f5_5b",F5_5b);
		contentValues.put("f5_5c",F5_5c);
		contentValues.put("f5_5d",F5_5d);
		contentValues.put("f5_6",F5_6);
		contentValues.put("f5_7a",F5_7a);
		contentValues.put("f5_7b",F5_7b);
		contentValues.put("f5_8",F5_8);
		contentValues.put("f5_9a",F5_9a);
		contentValues.put("f5_9b",F5_9b);
		contentValues.put("f5_9c",F5_9c);
		contentValues.put("f5_9d",F5_9d);
		contentValues.put("f5_10",F5_10);
		contentValues.put("f5_11",F5_11);
		contentValues.put("f5_12",F5_12);
		contentValues.put("f5_13a",F5_13a);
		contentValues.put("f5_13b",F5_13b);
		contentValues.put("f5_13c",F5_13c);
		contentValues.put("f5_13d",F5_13d);
		contentValues.put("f5_13e",F5_13e);
		contentValues.put("f5_13f",F5_13f);
		contentValues.put("f5_13g",F5_13g);
		contentValues.put("f6_1a",F6_1a);
		contentValues.put("f6_1b",F6_1b);
		contentValues.put("f6_2a",F6_2a);
		contentValues.put("f6_2b",F6_2b);
		contentValues.put("f6_3a",F6_3a);
		contentValues.put("f6_3b",F6_3b);
		contentValues.put("f6_4a",F6_4a);
		contentValues.put("f6_4b",F6_4b);
		contentValues.put("f6_5",F6_5);
		contentValues.put("f6_6",F6_6);
		contentValues.put("f6_7a1",F6_7a1);
		contentValues.put("f6_7a2",F6_7a2);
		contentValues.put("f6_7a3",F6_7a3);
		contentValues.put("f6_7b1",F6_7b1);
		contentValues.put("f6_7b2",F6_7b2);
		contentValues.put("f6_7b3",F6_7b3);
		contentValues.put("f6_7c1",F6_7c1);
		contentValues.put("f6_7c2",F6_7c2);
		contentValues.put("f6_7c3",F6_7c3);
		contentValues.put("f6_8",F6_8);
		contentValues.put("f6_91a1",F6_91a1);
		contentValues.put("f6_91a2",F6_91a2);
		contentValues.put("f6_91a3",F6_91a3);
		contentValues.put("f6_91b1",F6_91b1);
		contentValues.put("f6_91b2",F6_91b2);
		contentValues.put("f6_91b3",F6_91b3);
		contentValues.put("f6_91c1",F6_91c1);
		contentValues.put("f6_91c2",F6_91c2);
		contentValues.put("f6_91c3",F6_91c3);
		contentValues.put("f6_921",F6_921);
		contentValues.put("f6_922",F6_922);
		contentValues.put("f6_923",F6_923);
		contentValues.put("f6_931",F6_931);
		contentValues.put("f6_932",F6_932);
		contentValues.put("f6_933",F6_933);
		contentValues.put("f7_1",F7_1);
		contentValues.put("f7_2a",F7_2a);
		contentValues.put("f7_2b",F7_2b);
		contentValues.put("f7_3a",F7_3a);
		contentValues.put("f7_3b",F7_3b);
		contentValues.put("f7_3c",F7_3c);
		contentValues.put("f7_3d",F7_3d);
		contentValues.put("f7_3e",F7_3e);
		contentValues.put("f7_3f",F7_3f);
		contentValues.put("f8_1",F8_1);
		contentValues.put("f8_2",F8_2);
		contentValues.put("f8_3",F8_3);
		contentValues.put("f8_4",F8_4);
		contentValues.put("f8_5",F8_5);
		contentValues.put("f8_6",F8_6);
		contentValues.put("f8_7",F8_7);
		contentValues.put("f8_8",F8_8);
		contentValues.put("f8_year",y);
		return sqLiteDatabase.insert(MYDATABASE_TABLE, null, contentValues);
	}

	public int deleteAll(){
		return sqLiteDatabase.delete(MYDATABASE_TABLE, null, null);
	}
	public int delete(String  a)
	{
		return sqLiteDatabase.delete(MYDATABASE_TABLE, KEY_ID+"=?", new String[] {a});
	}
	
	public class SQLiteHelper extends SQLiteOpenHelper {

		public SQLiteHelper(Context context, String name,
				CursorFactory factory, int version) {
			super(context, name, factory, version);
		}

		@Override
		public void onCreate(SQLiteDatabase db)
		{
			db.execSQL(SCRIPT_CREATE_DATABASE);
		}

		@Override
		public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) 
		{

		}

	}
	
	public Cursor queue()
	{
	
		Cursor cursor = sqLiteDatabase.rawQuery("select * from dering",null);
		
		return cursor;
	}
	public int getRowCount() {
		String countQuery = "SELECT  * FROM " + MYDATABASE_TABLE ;
		Cursor cursor = sqLiteDatabase.rawQuery(countQuery, null);
		int rowCount = cursor.getCount();
		sqLiteDatabase.close();
		cursor.close();
		return rowCount;
	}
	
}
